package com.tansun.easycare.rule.approval.service.impl;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.github.pagehelper.Page;
import com.github.pagehelper.PageInfo;
import com.tansun.easycare.core.service.impl.CrudServiceImpl;
import com.tansun.easycare.rule.approval.dao.RulePublishApprovalDao;
import com.tansun.easycare.rule.approval.entity.RulePublishApproval;
import com.tansun.easycare.rule.approval.service.RulePublishApprovalService;

/**
 * 单表生成ServiceImpl
 * @author @
 * @version 2019-11-20
 */
@Service("rulePublishApprovalService")
@Transactional(readOnly = true)
public class RulePublishApprovalServiceImpl extends CrudServiceImpl<RulePublishApprovalDao, RulePublishApproval> implements RulePublishApprovalService{

	public RulePublishApproval get(String id) {
		return super.get(id);
	}
	
	public List<RulePublishApproval> findList(RulePublishApproval rulePublishApproval) {
		return super.findList(rulePublishApproval);
	}
	
	public PageInfo<RulePublishApproval> findPage(Page<RulePublishApproval> page, RulePublishApproval rulePublishApproval) {
		return super.findPage(page, rulePublishApproval);
	}
	
	@Transactional(readOnly = false)
	public void save(RulePublishApproval rulePublishApproval) {
		super.save(rulePublishApproval);
	}
	
	@Transactional(readOnly = false)
	public void delete(RulePublishApproval rulePublishApproval) {
		super.delete(rulePublishApproval);
	}
	
}